<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ include file="/common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
	</head>
	<body>
	<s:form  id="frameForm" namespace="/querythemes" action="qdDomainDeploy!saveOrUpdateDeployMeasure.action">
	<s:hidden name="searchQdDomain.name" id="searchQdDomain.name"/>
	<s:hidden name="searchQdDomain.catalogId.catalogName" id="searchQdDomain.catalogId.catalogName"/>
	<s:hidden name="searchQdDomain.catalogId.catalogId" id="searchQdDomain.catalogId.catalogId"/>
	<s:hidden name="pageSize" id="pageSize"/>	
	<s:set name="current_tpye" value="checktpye" /> 
	<s:set name="strDomainId" value="strDomainId" />
	<s:set name="pageSize" value="pageSize" />	
		<script type="text/javascript">		
			Ext.onReady(initTabs);			
			function initTabs(){
				var tabs = new Ext.TabPanel({ 
				    renderTo: 'tabs',
				    height: '100%',
				    width:'100%', 
				    enableTabScroll:true, 
				  	lazyLoad:true, 
				    tabPosition:'top', 
				    closable: false,  
				  	preventDefault: true,
				  	activeTab:0,					
				    items:[
				    { html:'<iframe width="100%" style="border:none" height="720" src="<s:url namespace="/querythemes" action="qdDomainDeploy" method="load4DeployRole"><s:param name="strDomainId"><s:property value="strDomainId"/></s:param></s:url>"></iframe>',
					  title:'角色分配',
					  autoHeight:true
					},
				    { html:'<iframe width="100%" style="border:none" height="720" src="<s:url namespace="/querythemes" action="qdDomainDeploy" method="load4DeployMeasure"><s:param name="strDomainId"><s:property value="strDomainId"/></s:param></s:url>"></iframe>',
					  title:'字段发布',
					  autoHeight:true
					},
					{ html:'<iframe width="100%" style="border:none" height="720" src="<s:url namespace="/querythemes" action="qdDomainDeploy" method="load4DeployCompareCond"><s:param name="strDomainId"><s:property value="strDomainId"/></s:param></s:url>"></iframe>',
					  title:'查询发布',
					  autoHeight:true
					},
					{ html:'<iframe width="100%" style="border:none" height="730" src="<s:url namespace="/querythemes" action="qdDomainDeploy" method="load4DeployWhereClause"><s:param name="strDomainId"><s:property value="strDomainId"/></s:param></s:url>"></iframe>',
					  title:'条件发布',
					  autoHeight:true
					}
				    ] 
				}
				
				);
//				tabs.setActiveTab(0);
			} 
		</script> 
		<div class="main">
			<div class="main_title"><b>你当前的位置：</b>主题查询-主题配置-主题发布-主题发布列表-发布</div>
			<div id="tabs">
				<div id="tab0" class="x-hide-display" style="width: 100%">
				</div>
			</div>
		</div>
    </s:form>
	</body>
</html>